package tianrun.ziguan.api.calculate.config.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tianrun.ziguan.api.calculate.config.dto.request.Module;
import tianrun.ziguan.api.calculate.config.dto.response.ModuleByTableName;
import tianrun.ziguan.api.calculate.config.entity.TTemplate;

import java.util.List;
import java.util.Set;

/**
 * @author zhaoqi
 */
@Mapper
public interface TTemplateMapper extends BaseMapper<TTemplate> {
    List<ModuleByTableName> queryModules(@Param("tableNames") Set<String> tableNames, @Param("fieldName") String fieldName, @Param("sourceId") Long sourceId);
}
